package com.monster.starter.core.common.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import lombok.Data;

import java.io.Serializable;

/**
 * 公共实体部分
 * @author kuang
 */
@Data
public class BaseEntityPlusTime extends BaseEntityPlusSupper implements Serializable {
    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    @Column(length = 17, isNull = false, comment = "创建时间")
    protected Long createTime;
    /**
     * 修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @Column(length = 17, comment = "修改时间")
    protected Long updateTime;
}
